/*
 * 路由表对象：
 * 该文件挂载在Vue原型中 $mRoutesConfig
 * 作用：调用$mRouter对象的方法 传入以下对应的路由对象，详细见common目录下的router.js
 * 示例：this.$mRouter.push({route:this.$mRoutesConfig.main,query:{a:1}})
 * 注意：所有在pages目录下新建的页面都必须在"路由表"中进行声明，并且在框架的pages.json注册。
 *
 * 配置参数项说明：
 * name:可选配置 （路由名称）
 * path:必填配置 （路由地址）
 * requiresAuth:可选配置 （是否权限路由）
 */

export default {
	login:{
		login:{
			name: "login",
			path: "/pages/login/login",
			title: "登录"
		}
	},
	// 首屏页面
	homePage:{
		index:{
			name: "index",
			path: "/pages/homePage/index",
			title: "首页",
		},
		hotList:{
			name: "hotList",
			path: "/pages/homePage/hotList",
			title: "热榜",
		},
		mine:{
			name: "mine",
			path: "/pages/homePage/mine",
			title: "我的",
		},
		classification:{
			name: "classification",
			path: "/pages/homePage/classification",
			title: "分类",
		}
	},
	// 个人中心分包页面
	minePage:{
		accountInformation:{
			name: "accountInformation",
			path: "/pages/minePage/accountInformation",
			title: "账户信息",
			requiresAuth:true
		},
		userLevel:{
			name: "userLevel",
			path: "/pages/minePage/userLevel",
			title: "用户等级",
			requiresAuth:true
		},
		orderList:{
			name: "orderList",
			path: "/pages/minePage/orderList",
			title: "订单列表",
			requiresAuth:true
		},
		myPuzzle:{
			name: "myPuzzle",
			path: "/pages/minePage/myPuzzle",
			title: "我的拼团",
			requiresAuth:true
		},
		myLuckyDraw:{
			name: "myLuckyDraw",
			path: "/pages/minePage/myLuckyDraw",
			title: "我的抽奖",
			requiresAuth:true
		},
		myCoupon:{
			name: "myCoupon",
			path: "/pages/minePage/myCoupon",
			title: "我的优惠券",
			requiresAuth:true
		},
		myCollection:{
			name: "myCollection",
			path: "/pages/minePage/myCollection",
			title: "我的收藏",
			requiresAuth:true
		},
		addressList:{
			name: "addressList",
			path: "/pages/minePage/addressList",
			title: "地址列表",
			requiresAuth:true
		},
		addAddress:{
			name: "addAddress",
			path: "/pages/minePage/addAddress",
			title: "添加收货地址",
			requiresAuth:true
		},
	},
	// 分销分包
	distribution:{
		integralRule:{
			name: "integraRule",
			path: "/pages/distribution/integralRule",
			title: "积分规则",
			requiresAuth:true
		},
		myPoints:{
			name: "myPoints",
			path: "/pages/distribution/myPoints",
			title: "我的积分",
			requiresAuth:true
		},
		pointsMall:{
			name: "pointsMall",
			path: "/pages/distribution/pointsMall",
			title: "积分商城",
			requiresAuth:true
		},
		myComments:{
			name: "myComments",
			path: "/pages/distribution/myComments",
			title: "我的评论",
			requiresAuth:true
		},
		commonProblem:{
			name: "commonProblem",
			path: "/pages/distribution/commonProblem",
			title: "常见问题",
			requiresAuth:true
		},
		problemDetail:{
			name: "problemDetail",
			path: "/pages/distribution/problemDetail",
			title: "问题详情",
			requiresAuth:true
		},
		partner:{
			name: "partner",
			path: "/pages/distribution/partner",
			title: "社区合伙人",
			requiresAuth:true
		},
		applyingPartner:{
			name: "applyingPartner",
			path: "/pages/distribution/applyingPartner",
			title: "申请合伙人",
			requiresAuth:true
		},
		rechargeDeposit:{
			name: "rechargeDeposit",
			path: "/pages/distribution/rechargeDeposit",
			title: "充值押金",
			requiresAuth:true
		},
		successfully:{
			name: "successfully",
			path: "/pages/distribution/successfully",
			title: "提交成功",
			requiresAuth:true
		},
		essentialInfor:{
			name: "essentialInfor",
			path: "/pages/distribution/essentialInfor",
			title: "基本信息",
			requiresAuth:true
		},
		myIncome:{
			name: "myIncome",
			path: "/pages/distribution/myIncome",
			title: "我的收入",
			requiresAuth:true
		},
		applySettlement:{
			name: "applySettlement",
			path: "/pages/distribution/applySettlement",
			title: "申请结算",
			requiresAuth:true
		},
		incomeDetails:{
			name: "incomeDetails",
			path: "/pages/distribution/incomeDetails",
			title: "收入明细",
			requiresAuth:true
		},
		orderDetails:{
			name: "orderDetails",
			path: "/pages/distribution/orderDetails",
			title: "订单明细",
			requiresAuth:true
		}
	},
	pelletizing:{
		goodsDetail:{
			name: "goodsDetail",
			path: "/pages/pelletizing/goodsDetail",
			title: "商品详情",
			requiresAuth:true
		},
		shoppingProcess:{
			name: "shoppingProcess",
			path: "/pages/pelletizing/shoppingProcess",
			title: "购物流程",
			requiresAuth:true
		},
		groupDetails:{
			name: "groupDetails",
			path: "/pages/pelletizing/groupDetails",
			title: "拼团详情",
			requiresAuth:true
		},
		helpFree:{
			name: "helpFree",
			path: "/pages/pelletizing/helpFree",
			title: "助力免单",
			requiresAuth:true
		},
		myHelp:{
			name: "myHelp",
			path: "/pages/pelletizing/myHelp",
			title: "我的助力",
			requiresAuth:true
		},
		winningList:{
			name: "winningList",
			path: "/pages/pelletizing/winningList",
			title: "中奖名单",
			requiresAuth:true
		},
		limitedTime:{
			name: "limitedTime",
			path: "/pages/pelletizing/limitedTime",
			title: "限时秒杀",
			requiresAuth:true
		}
	}
	
}
